package com.intelligent.ispc.core.entity;

import com.intelligent.ispc.common.persistence.BaseEntity;
import com.intelligent.ispc.core.dto.ProjectDto;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import javax.persistence.*;
import java.util.Date;

/**
 * Created by Julia.Zhou on 2016/06/01.
 */
@Entity
@Table(name = "t_grritem")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class GRRItem extends BaseEntity {
    private String grrName;
    private String includeIds;
    private String excludeIds;
    private String testItemNames;
    private Boolean isAllCheck;
    private String operatorValue;
    private String partValue;
    private String trialValue;
   // private String testStrategy;
    private Boolean isDelete;
    private String analysisKeys;

    @ManyToOne
    @JoinColumn(name = "project_id")
    private Project project;

    public String getGrrName() {
        return grrName;
    }

    public void setGrrName(String grrName) {
        this.grrName = grrName;
    }

    public String getIncludeIds() {
        return includeIds;
    }

    public void setIncludeIds(String includeIds) {
        this.includeIds = includeIds;
    }

    public String getExcludeIds() {
        return excludeIds;
    }

    public void setExcludeIds(String excludeIds) {
        this.excludeIds = excludeIds;
    }

    public String getTestItemNames() {
        return testItemNames;
    }

    public void setTestItemNames(String testItemNames) {
        this.testItemNames = testItemNames;
    }

    public Boolean getAllCheck() {
        return isAllCheck;
    }

    public void setAllCheck(Boolean allCheck) {
        isAllCheck = allCheck;
    }

    public String getOperatorValue() {
        return operatorValue;
    }

    public void setOperatorValue(String operatorValue) {
        this.operatorValue = operatorValue;
    }

    public String getPartValue() {
        return partValue;
    }

    public void setPartValue(String partValue) {
        this.partValue = partValue;
    }

    public String getTrialValue() {
        return trialValue;
    }

    public void setTrialValue(String trialValue) {
        this.trialValue = trialValue;
    }

    public Project getProject() {
        return project;
    }

    public void setProject(Project project) {
        this.project = project;
    }

    public Boolean getDelete() {
        return isDelete;
    }

    public void setDelete(Boolean delete) {
        isDelete = delete;
    }

    public String getAnalysisKeys() {
        return analysisKeys;
    }

    public void setAnalysisKeys(String analysisKeys) {
        this.analysisKeys = analysisKeys;
    }
}
